package com.example.jk.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;


import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cjx
 * @since 2021-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_jk")
public class UserJk extends Model<UserJk> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    //温度
    private Float wd;
    //身高
    private Float sg;
    //体重
    private Float tz;
    //视力
    private Float sl;
    //体脂率
    private Float tzl;
    //血压
    private Float xya;
    //血糖
    private Float xt;
    //胆固醇
    private Float dgc;
    //三甘油
    private Float sgy;
    //心率
    private Integer xl;
    //肺活量
    private Float fhl;
    //肺活量
    private Float smsj;
    //性别
    @TableField(exist = false)
    private String sex;
    //年龄
    @TableField(exist = false)
    private int age;
    //查询天数
    @TableField(exist = false)
    private int size;
    //用户id
    @TableField("user_id")
    private Integer userId;
    //用户姓名
    @TableField("user_name")
    private String userName;
    //登记时间
    @TableField("create_time")
    private LocalDateTime createtime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
